<?php
require_once '../../../mainfile.php';

if (strpos(xoops_getenv('HTTP_REFERER'), XOOPS_URL) !== 0) {
	exit() ;
}

$mydirname = basename(dirname(dirname(__FILE__)));
//$mydirpath = dirname(dirname(__FILE__));
//$mydirurl = XOOPS_URL.'/modules/'.$mydirname;
require realpath(dirname(__FILE__)) . '/../mytrustdirname.php';

require XOOPS_TRUST_PATH . '/modules/' . $mytrustdirname . '/include/check_url.php';
